package com.penghk.springbootdemo.service;

import com.penghk.springbootdemo.entity.People;

public interface PeopleService {

    People findByName(String name);

    People save(People person);

     void remove(Long id);

     People findOne(People person);

     void removeByName(String name);

    People savePeopleWithRollback(People people);

    People savePeopleWithOutRollback(People people);

}
